![]() |
UserItemProcPtr |
||||
Header: | Dialogs.h | Carbon status: | Supported | |
typedef void(* UserItemProcPtr) ( DialogPtr theDialog, DialogItemIndex itemNo );
You would declare your function like this if you were to name it MyUserItemCallback:
void MyUserItemCallback ( DialogPtr theDialog, DialogItemIndex itemNo );
When the Appearance Manager is available and an embedding hierarchy is established in a dialog box, you should provide the Control Manager user pane drawing function MyUserPaneDrawCallback instead of the user item drawing function MyUserItemCallback to draw an application-defined control (a dialog item becomes a control in a dialog box with an embedding hierarchy).
You can provide other user pane application-defined functions to hit test, track, perform idle processing, handle keyboard, activate, and deactivate event processing, handle keyboard focus, and set the background color or pattern in a user pane control.
This function is not recommended with Appearance Manager 1.0 and later.
Supported in Carbon.
© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)